package com.at.clinica.services;

import java.util.List;

import org.springframework.flex.remoting.RemotingDestination;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.at.clinica.vos.Categoria;
import com.at.clinica.vos.SubCategoria;

@Service
@RemotingDestination(channels = { "my-amf" })
@Transactional
public interface ICategoriaServices {
   
	public void agregarCategorias(Categoria categoria) throws Exception;
	public Categoria buscarCategoria(Categoria categoria) throws Exception ;
	public List<SubCategoria> listarSubCategoriasdeCategorias(Categoria categoria) throws Exception ;
	public List<Categoria> listarCategorias() throws Exception;
	
	
}


